﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddressControl.ascx.cs" Inherits="ZLCMS.Web.SystemManage.Control.AddressControl" %>

<%@ Register src="CascadeComboxControl.ascx" tagname="CascadeComboxControl" tagprefix="uc1" %>
<input id="AddressId" type="hidden" runat="Server"/>
<div>
    <uc1:CascadeComboxControl ID="ProvinceCascadeCombox" runat="server" EmptyText="--省--"
        Category="Province" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"Province","KeyValuePairString":"{value}"}' 
        ReferenceCategory="City" />
                    
    <uc1:CascadeComboxControl ID="CityCascadeCombox" runat="server" EmptyText="--市--"
        Category="City" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"City","KeyValuePairString":"{value}"}' 
        ReferenceCategory="Area" />
                    
    <uc1:CascadeComboxControl ID="AreaCascadeCombox" runat="server" EmptyText="--区--"
        Category="Area" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"Area","KeyValuePairString":"{value}"}' 
            />
</div>
<%if(ShowDetailAddress){ %>
<div>
    
<asp:TextBox ID="address" runat="server" Columns="75" TextMode="MultiLine" placeholder="详细地址"
                    Width="100%" Rows="4"></asp:TextBox>
</div>
<%} %>